<?php
/*
$host = "10.26.8.145";
$bd = "aq_gal_automacao";
$user = "ulacen";
$senha = "lacenms01";
$limit = 10;
*/

$host = "10.26.8.145";
$bd = "aq_lacen_gal";
$user = "postgres";
$senha = "postgres";
$limit = 50;




//	echo "host=$host port=5432 dbname=$bd user=$user password=$senha";
if(!$con= pg_connect("host=$host port=5433 dbname=$bd user=$user password=$senha"))
	return "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?>\n<resposta>Erro - Conexao com a interface</resposta>";

?>
